﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="success.aspx.cs" Inherits="order_success" %>


<%@ Register src="../UserControls/CFooterControl.ascx" tagname="CFooterControl" tagprefix="uc1" %>
<%@ Register src="../UserControls/CHeaderControl.ascx" tagname="CHeaderControl" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <uc2:CHeaderControl ID="CHeaderControl1" runat="server" />
    <asp:HiddenField ID="hidorderid" runat="server" />
    <div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="content">
    <div id="order-pay-return" class="box">
        
        <div class="box-content">
			<%if (type == 0)
     {
            %>
            <div class="error"><h2>付款失败！如有问题请联系客服人员</h2> </div>
           
            <%
     }
     else if (type == 1) { 
     %>
     <div class="success"><h2>您的订单，支付成功了！</h2> </div>
            <div class="sect">
                <p>查看所购项目&nbsp;<br /><%=GetTeam(teamid,ordermodel.Id)%>&nbsp;&nbsp;<a href="/order/view.aspx?id=<%=ordermodel.Id %>">订单详情</a>。</p>
            </div>
     <%
     }
     else
     {
          %>
          <div class="success"><h2>充值成功</h2> </div>

          <%
     }
			    	    %>
		</div>
		
	</div>
</div>
<div id="side">
    
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

    <uc1:CFooterControl ID="CFooterControl1" runat="server" />

    </form>
</body>
</html>
